//package com.example.test.service.impl;
//
//import com.example.syf10.entity.Rolerepos;
//import com.example.syf10.mapper.RoleReposMapper;
//import com.example.syf10.service.RolereposService;
//import com.example.syf10.util.MyBatisUtil;
//import org.springframework.stereotype.Service;
//
//import java.io.IOException;
//import java.util.List;
//
//@Service
//public class RolereposServiceImpl implements RolereposService {
//    @Override
//    public Object getRoleReposInfo() throws IOException {
//        MyBatisUtil myBatisUtil = new MyBatisUtil();
//        RoleReposMapper roleReposMapper = myBatisUtil.roleReposMapperLoad();
//        List<Rolerepos> all = roleReposMapper.findAll();
//        return all;
//    }
//
//    @Override
//    public Object getRepos() throws IOException {
//        MyBatisUtil myBatisUtil = new MyBatisUtil();
//        RoleReposMapper roleReposMapper = myBatisUtil.roleReposMapperLoad();
//        List<Rolerepos> byRoposId = roleReposMapper.findByRoposId();
//
//        return byRoposId;
//    }
//}
